<script>
	import {get_user} from '@/common/api/user.js'
	export default {
		onLaunch: function() {
			// 获取用户信息
			get_user().then(res => {
				console.log('用户信息', res)
				this.$store.dispatch('set_userInfo', res.data)
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import '@/components/feng-parse/parse.css';
</style>
